package com.amazon.bo;

import com.amazon.bo.base.BaseBo;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

import javax.persistence.Column;
import javax.persistence.Entity;
import java.io.Serializable;

/**
 * Created by anhui on 2018/3/18.
 */
@Entity
@DynamicUpdate
@DynamicInsert
public class ShopGoodsBatch extends BaseBo implements Serializable {
    public long getBatchStatus() {
        return batchStatus;
    }

    public void setBatchStatus(long batchStatus) {
        this.batchStatus = batchStatus;
    }

    @Column(columnDefinition = ("varchar(40) default null comment '处理状态1-5:1详情 2 库存 3 价格 4 图片 5变体'"))
    private long batchStatus;
}
